<% if(coffeeDatas.length==0){%>
    <div style="height: 100%;text-align: center;line-height: 300px">当前数据为空</div>
<% } else {%>
    <% coffeeDatas.forEach(function(coffeeData,index){%>
    <div style="margin: 20px">
        <div style="width: 10%;float: left;margin-top: 10px">
            <input type="radio" name="coffee" value="<%- coffeeData._id%>">
        </div>
        <div style="width: 80%;float: left">
            <%- coffeeData.name %><br>
            <% if(coffeeData.province.name!=coffeeData.city.name){%>
            <%- coffeeData.province.name %>
            <% } %>
            <%- coffeeData.city.name%><%- coffeeData.area.name%><%- coffeeData.addr %><br>
        </div>
    </div>
    <div style="clear: both;"></div>
    <%})%>
<%}%>